﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<DocumentInfo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    API Document
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td valign="top" width="230">
                <% Html.RenderPartial("DocMenu"); %>
            </td>
            <td valign="top">
                <fieldset>
                    <legend>文档</legend>
                    <%
                        if (Model != null)
                        {
                    %>
                    <div class="editor-label">
                        文档编号:
                        <%= Model.DOC_CD%>
                    </div>
                    <div class="editor-label">
                        文档标题:
                        <%= Model.DOC_SUBJECT%>
                    </div>
                    <div class="editor-label">
                        <div style="padding: 5px; background-color: #faf496;">
                            <%= Model.DOC_BODY%>
                        </div>
                    </div>
                    <%
                        }
                        else
                        {
                    %>
                    <div style="height: 50px;">
                        请选择左侧菜单查看相关文档...
                    </div>
                    <%
                        }
                    %>
                </fieldset>
            </td>
        </tr>
    </table>
</asp:Content>
